home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-06-16 | 1.4 KB | 81 lines | [TEXT/KAHL] |
- /* SCSIInquiry.r */
- /*
- * SCSIInquiry.r
- * Copyright © 1994 Apple Computer Inc. All rights reserved.
- */
- #define REZ
- #include "Types.r"
- #include "SysTypes.r"
- #include "SCSIInquiry.h"
-
- #ifdef __powerc
- /*
- * All Power PC applications need a code-fragment resource that the code
- * fragment manager uses to facilitate dynamic fragment binding.
- */
- #include "CodeFragmentTypes.r"
-
- resource 'cfrg' (0) {
- {
- kPowerPC,
- kFullLib,
- kNoVersionNum,
- kNoVersionNum,
- kDefaultStackSize,
- kNoAppSubFolder,
- kIsApp,
- kOnDiskFlat,
- kZeroOffset,
- kWholeFork,
- "SCSIDriveIDSample"
- }
- };
- #endif
-
- resource 'ALRT' (ALRT_Info, "Inquiry Info", purgeable) {
- {100, 80, 210, 440},
- ALRT_Info,
- {
- OK, visible, silent,
- OK, visible, silent,
- OK, visible, silent,
- OK, visible, silent
- }
- };
-
- resource 'DITL' (ALRT_Info, "Inquiry Info", purgeable) {
- {
- { 80, 280, 100, 340}, Button { enabled, "OK" },
- { 10, 70, 70, 350}, StaticText { disabled,
- "Inquiry Length: ^0\n"
- "Vendor: “^1”\n"
- "Product: “^2”\n"
- "Revision: “^3”"
- },
- }
- };
-
- resource 'ALRT' (ALRT_Error, "Error", purgeable) {
- {100, 80, 210, 440},
- ALRT_Error,
- {
- OK, visible, silent,
- OK, visible, silent,
- OK, visible, silent,
- OK, visible, silent
- }
- };
-
- resource 'DITL' (ALRT_Error, "Error", purgeable) {
- {
- { 80, 280, 100, 340}, Button { enabled, "OK" },
- { 10, 70, 70, 350}, StaticText { disabled,
- "System Error ^0.\n"
- "Processing SCSI Command."
- },
- }
- };
-
-
-
-